package org.september.pisces.imagesearch.vo;

public class FeatureInfo {

	private float[] data;
	
	private String path;

	public float[] getData() {
		return data;
	}

	public void setData(float[] data) {
		this.data = data;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	@Override
	public int hashCode() {
		return path.hashCode();
	}

	@Override
	public boolean equals(Object obj) {
		if(obj instanceof FeatureInfo) {
			FeatureInfo other = (FeatureInfo)obj;
			return path.equals(other.path);
		}
		return false;
	}
}
